Write(Byte[],Int32,Int32) Method
In This Topic
Writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written.
Syntax
'Declaration
Public Overloads Overrides Sub Write( _
ByVal () As System.Byte, _
ByVal As System.Integer, _
ByVal As System.Integer _
)
public override void Write(
System.byte[] ,
System.int ,
System.int
)
Parameters
- buffer
- An array of bytes. This method copies count bytes from buffer to the current stream.
- offset
- The zero-based byte offset in buffer at which to begin copying bytes to the current stream.
- count
- The number of bytes to be written to the current stream.
Exceptions
Exception | Description |
System.NotSupportedException | This stream does not support writing. |
See Also